package com.suny.thread_per_message;

import sun.management.counter.perf.PerfInstrumentation;

public class Host {
    private final Helper helper = new Helper();
    public void request(int count, char c) {
        System.out.println("      request(" + count + ", " + c + ") BEGIN");
        new Thread() {
            @Override
            public void run() {
                helper.handle(count, c);
            }
        }.start();
        System.out.println("      request( " + count + ", " + c + ") END");

    }
}
